import request from '@/utils/request'

// 查询新团员发展列表
export function listDevelop(query) {
  return request({
    url: '/develop/develop/list',
    method: 'get',
    params: query
  })
}

// 查询新团员发展详细
export function getDevelop(nmdId) {
  return request({
    url: '/develop/develop/' + nmdId,
    method: 'get'
  })
}

// 新增新团员发展
export function addDevelop(data) {
  return request({
    url: '/develop/develop',
    method: 'post',
    data: data
  })
}

// 修改新团员发展
export function updateDevelop(data) {
  return request({
    url: '/develop/develop',
    method: 'put',
    data: data
  })
}

// 删除新团员发展
export function delDevelop(nmdId) {
  return request({
    url: '/develop/develop/' + nmdId,
    method: 'delete'
  })
}
